package com.example.trafficexam2;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;

/**
 * Created by Administrator on 2018/11/26/026.
 */

public class RegularBusNextActivity extends Activity {

    private View view;
    private Button nextBtn;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.regular_bus_next_activity);
        initView();
        initdata();
    }

    private void initView(){
        nextBtn = findViewById(R.id.regular_next);
    }

    private void initdata(){
        nextBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(RegularBusNextActivity.this,RegularBusTimeSelectActivity.class);
                startActivity(intent);
            }
        });
    }
}

